package com.itheima.example;

import java.util.*;

public class Example03 {
    public static void main(String[] args) {
        ArrayList list = new ArrayList();
        list.add("zhangsan");
        list.add("lisi");
        list.add("wangwu");
        list.add("zhaoliu");
        for(Object obj : list){
            System.out.println(obj);
        }
    }
}
